package com.youbug.mall.member_ums.service;

import com.youbug.common.to.SocialUserTo;
import com.youbug.mall.member_ums.entity.UmsMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youbug.common.vo.QueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.youbug.mall.member_ums.vo.MemberUserLoginVo;
import com.youbug.mall.member_ums.vo.UserRegisterVo;

/**
 * <p>
 * 会员 服务类
 * </p>
 *
 * @author youbug
 * @since 2024-06-17
 */
public interface IUmsMemberService extends IService<UmsMember> {

    IPage<UmsMember> getUmsMemberPage(QueryVo<UmsMember> queryVo);

    void register(UserRegisterVo registerVo);

    UmsMember login(MemberUserLoginVo vo);

    UmsMember login(SocialUserTo socialUser) throws Exception;
}
